<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      /* function fn(){
        return new Promise(resolve=>resolve(undefined))
      } */
      async function fn() {
        // return new Promise((resolve) => resolve(100));
        return 100;
      }
      fn().then((data) => {
        console.log(data);
      });
    </script>
  </body>
</html>
